(Fbyte_code): Use SYMBOL_CONSTANT_P macro.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 8 Nov 2006 21:14:40 +0000 (21:14 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 8 Nov 2006 21:14:40 +0000 (21:14 +0000)
src/bytecode.c

index 2facaa47062d02449df7c25e03ac01c63ed6ca0b..f96535354a4c0a758a640f06fd28c605d46ef519 100644 (file)
@@ -597,7 +597,7 @@ If the third argument is incorrect, Emacs may crash.  */)
            if (SYMBOLP (sym)
                && !EQ (val, Qunbound)
                && !XSYMBOL (sym)->indirect_variable
-               && !XSYMBOL (sym)->constant
+               && !SYMBOL_CONSTANT_P (sym)
                && !MISCP (XSYMBOL (sym)->value))
              XSYMBOL (sym)->value = val;
            else